package com.fh.wanandroid.ui.wx.contract;

import com.fh.wanandroid.base.BaseResponse;
import com.fh.wanandroid.base.BaseRxPresenter;
import com.fh.wanandroid.base.BaseView;
import com.fh.wanandroid.ui.knowledge.KnowledgeDataList;
import com.fh.wanandroid.ui.wx.bean.WXAuthorListData;

import java.util.List;

public interface WXArticleContract {


    interface View extends BaseView {

        void showWXAutor(BaseResponse<List<WXAuthorListData>> wxAuthorListData);

        void loadDataFail(String msg);
    }


    abstract class Presenter extends BaseRxPresenter<WXArticleContract.View> {

        /**
         * 获得公众号作者
         */
        public abstract void getWxAuthorListData();

    }
}
